<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>违章查询</title>
	</head>
	<body>
		<DIV class="content-left jianju">
			<DIV class="content-left-top">
				<DIV class="content-left1">
					<H2 class="content-left-title">
						<SPAN class="f14-w-00368d">驾驶人违法查询</SPAN>
					</H2>
					<DIV class="searchbox">
						<DIV class="content-left-searchbox xxcx">
							<FORM name="jsyjf" action="" method="post">
								<DIV>
									<SPAN>姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名：</SPAN><INPUT
										size="10" name="jsyxm" id="carHost">
								</DIV>
								<DIV>
									<SPAN>驾驶证号：</SPAN><INPUT size="16" name="jszh" id="driveNum">
								</DIV>
								<DIV>
									<INPUT class="chaxun content-left-searchbotton" type="button"
										value="查询" onclick="query_jsr(); ">
								</DIV>
							</FORM>
						</DIV>
					</DIV>
				</DIV>
				<DIV class="line"></DIV>
				<DIV class="content-left1">
					<H2 class="content-left-title">
						<SPAN class="f14-w-00368d">机动车违法查询</SPAN>
					</H2>
					<DIV class="searchbox">
						<DIV class="content-left-searchbox1 xxcx">
							<FORM name="clwf" action="" method="post">
								<DIV>
									<SPAN class="right_cx">号牌种类：</SPAN><SELECT class="hpzl"
										name="hpzl" id="carType"><OPTION value="01">大型车辆</OPTION>
										<OPTION value="02" selected>小型车辆</OPTION>
										<OPTION value="15">挂车</OPTION>
										<OPTION value="16">教练汽车</OPTION>
										<OPTION value="23">警用汽车</OPTION></SELECT>
								</DIV>
								<DIV>
									<SPAN class="right_cx">号牌号码：</SPAN><SPAN class="shan">陕</SPAN><INPUT
										class="hphm" maxlength="6" size="6" value="A" name="hphm" id="carNum">
								</DIV>
								<DIV>
									<SPAN class="right_cx"><SELECT class="tj" id="tj"
										name="tj" id="tj"><OPTION value="FDJH" selected>发动机号</OPTION>
											<OPTION value="CLSBDH">车架号</OPTION></SELECT></SPAN><INPUT size="12"
										name="tj_val" id="tjNum">
								</DIV>
								<DIV class="xxcxsubmit">
									<INPUT class="chaxun content-left-searchbotton1" type="button"
										value="查询" onclick="clwfcx();">
								</DIV>
							</FORM>
						</DIV>
					</DIV>
				</DIV>
			</DIV>
		</DIV>
	</body>
	<script type="text/javascript">
        //查违章，驾驶人违法查询
        function query_jsr(){
            var carHost = document.getElementById("carHost").value;
            var driveNum = document.getElementById("driveNum").value;
            var url = 'http://117.36.53.122:9081/wfcx/query.do?actiontype=vioDriver&jsyxm='+ carHost +'&jszh='+ driveNum;
            location.href = url;
        }
        //查违章，机动车违法查询
        function clwfcx(){
            var carType = document.getElementById("carType").value;
            var carNum = document.getElementById("carNum").value;
            var tj = document.getElementById("tj").value;
            var tjNum = document.getElementById("tjNum").value;
            var url = 'http://117.36.53.122:9081/wfcx/query.do?actiontype=vioSurveil&hpzl='+ carType +'&hphm='+ carNum +'&tj='+ tj +'&tj_val=' + tjNum;
            location.href = url;
        }
	</script>
</html>